﻿using System;

namespace Lhz.Serialization
{
    public interface ISerializer<T>
    {
        T Serialize<TObject>(TObject item);

        object Deserialize(Type type, T content);

        TObject Deserialize<TObject>(T content);
    }
}
